<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
      <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=0.0,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0"/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="format-detection" content="telephone=no"/>
    <link href="/assets/src/css/cyb.css" type="text/css" rel="stylesheet"/>
    <link href="/assets/src/css/public.css" type="text/css" rel="stylesheet"/>
       <link href="/assets/css/nav.css" type="text/css" rel="stylesheet"/>
       <script type="text/javascript" src="/assets/js/jquery-1.8.1.min.js"></script>
    <title>我的订单</title>
    <script type="text/javascript">
    function pick(oid){
    	window.location.href="/ceposit/pick?id="+oid;
    }
    </script>
</head>
<body>
<!--头部-->
<header class="product-hd hd-color"><a href="javascript:;" onclick="history.go(-1)" class="pre index-pre"></a>我的订单</header>
<article id="article">
<nav class="index-nav clearfix"> 
  <a id="btnone" href="/order/myorder" class="index-nav-border" style="margin-left: 5px;">
  		<p>购物订单</p>
  </a> 
  <a id="btnsecond" href="#" class="index-nav-border buttonColor">
  		<p>寄存订单</p>
  </a> 
</nav>
<!--待付-->
<c:forEach var="CepositList" items="${Ceposit }" begin="0" varStatus="status">
	<div class="zone-01">
		<p class="zone-p1 clearfix">
			<c:if test="${CepositList.isPick == 1 }">未取件<input class="zone-cancle" value="取件" type="button" onclick="pick(${CepositList.id })"/></c:if>
			<c:if test="${CepositList.isPick == 2 }">已取件<input class="zone-cancle" value="交易结束" type="button"/></c:if>
		</p>
	</div>
</c:forEach>
<!--列表-->

</article>
<!--底部-->
<%@ include file="../footer/footer.jsp"%>
</body>
</html>